package com.cjy.thread;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2021/4/24 12:15
 */
public class ThreadDemo02 {
  public static void main(String[] args) {

    // 实例化对象
    MyThread mt1 = new MyThread("线程A ");
    // 实例化对象
    MyThread mt2 = new MyThread("线程B ");

    // 调用线程主体
    mt1.start();
    // 调用线程主体
    mt2.start();
  }
}
